#ifndef ASCE_PROCESS_H_
#define ASCE_PROCESS_H_
#include <sys/types.h>
#include <unistd.h>
#include <string>
#include "uncopyable.h"

namespace asce
{
	class Process : public UnCopyable
	{
	public:
		Process();
		~Process();
	
	public:
		bool	Creat(const std::string& file_path, char* argv[]);
		bool	Wait();

	public:
		bool	valid() const { return -1 != pid_t; }

	private:
		pid_t		pid_;
		std::string	file_path_;
	};
}

#endif